/*
 * Copyright 2010 Groupware.cc All right reserved. This software is the
 * confidential and proprietary information of Groupware.cc ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Groupware.cc.
 */
package com.rome.syncml.bean;

import java.util.Date;

/**
 * 类SMS.java的实现描述：TODO 类实现描述 
 * @author afei 2011-11-25 下午10:09:24
 */
public class SMS {
    
    private long id;
    private long userId;
    private long person;
    private String address;
    private String name;
    private long date;
    private int read;
    
    private int type;
    private String body;
    
    private Date formatDate;
    
    
    
    /**
     * @param formatDate the formatDate to set
     */
    public void setFormatDate(Date formatDate) {
        this.formatDate = formatDate;
    }
    
    
    /**
     * @return the formatDate
     */
    public Date getFormatDate() {
        return formatDate;
    }
    /**
     * @return the userId
     */
    public long getUserId() {
        return userId;
    }
    
    
    /**
     * @param userId the userId to set
     */
    public void setUserId(long userId) {
        this.userId = userId;
    }
    
    /**
     * @param id the id to set
     */
    public void setId(long id) {
        this.id = id;
    }
    
    
    /**
     * @return the id
     */
    public long getId() {
        return id;
    }
    /**
     * @return the person
     */
    public long getPerson() {
        return person;
    }
    
    /**
     * @param person the person to set
     */
    public void setPerson(long person) {
        this.person = person;
    }
    
    /**
     * @return the address
     */
    public String getAddress() {
        return address;
    }
    
    /**
     * @param address the address to set
     */
    public void setAddress(String address) {
        this.address = address;
    }
    
    /**
     * @return the name
     */
    public String getName() {
        return name;
    }
    
    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }
    
    /**
     * @return the date
     */
    public long getDate() {
        return date;
    }
    
    /**
     * @param date the date to set
     */
    public void setDate(long date) {
        this.date = date;
    }
    
    /**
     * @return the read
     */
    public int getRead() {
        return read;
    }
    
    /**
     * @param read the read to set
     */
    public void setRead(int read) {
        this.read = read;
    }
    
    /**
     * @return the type
     */
    public int getType() {
        return type;
    }
    
    /**
     * @param type the type to set
     */
    public void setType(int type) {
        this.type = type;
    }
    
    /**
     * @return the body
     */
    public String getBody() {
        return body;
    }
    
    /**
     * @param body the body to set
     */
    public void setBody(String body) {
        this.body = body;
    }
    
    
    
}
